package cn.tworice.client.dao;

import cn.tworice.common.entity.code.*;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface PortDao {
    List<Port> queryList(int i, Integer pageSize, Port entity);

    int queryTotal(Port entity);

    void insert(Port entity);

    void update(Port entity);

    void del(Integer[] ids);

    int insertList(List<Port> list);

    Port queryInfoByPort(Integer port);
}